package thinkingJava.chapter10;

public class DotNew {
	public class Inner{
		private int id = 11;
		public int id() {
			return id;
		}
	}
	public static void main(String[] args) {
		DotNew dn = new DotNew();
		DotNew.Inner di = dn.new Inner();
		System.out.println(di);
		DotNew.Inner2 di2 = dn.new Inner2();
		System.out.println(di2.init());
	}
	public class Inner2{
		public Inner init() {
			return new Inner();
		}
	}
}
